package Ysfdemo;

public class ysfdemo2 {
    public static void main(String[] args) {
        //将10的值，赋值给变量a
        int a = 10;
        a+=20;
        System.out.println(a);//30
        a-=10;
        System.out.println(a);//20
        a*=2;
        System.out.println(a);//40
        a/=2;
        System.out.println(a);//20
        a%=2;
        System.out.println(a);//0
    }
}
